<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title>推广链接</title>
		<link rel="stylesheet" type="text/css" href="__STATIC__/home/css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="__STATIC__/home/css/tuiguanglianjie.css"/>
	</head>
	<body>
		<div class="wrapper">
			<div class="top">
		 	 	<p class="top-p1" onclick="javascript:history.back(-1);"> < </p>
		 	 	<p class="top-p2">推广链接</p>
		 	</div>
		 	<div class="content">
		 		{volist name="linkList" id="item" key="k"}
			 		<div class="content1">
			 			<p class="content11">{$item['id']}</p>
			 			<p class="content12">{if condition="$item['lv'] eq 1"}代理{elseif condition="$item['lv'] eq 2"/}会员{/if}</p>
			 			<p class="content13">返点{$item['rebate']}%</p>
			 			<input type="hidden" class="shareUrl{$k}" value="{$item['link']}">
			 			<div class="content14">获取链接</div>
			 			<div class="content15"><a style="color:#fff;" href="?delid={$item['id']}&op=del">删除</a></div>
			 		</div>
			 	{/volist}
		 	</div>
		 	<div class="cover">
		 		<div class="cover1">
	 				<p class="cover11">链接1：</p>
	 				<p class="cover12" style="width:90%;">http://www.iconfont.cn/search/i...</p>
	 				<div class="cover13">复制链接</div>
		 		</div>
		 	</div>
		</div>
	</body>
</html>
<script src="__STATIC__/home/js/zepto.min.js" type="text/javascript" charset="utf-8"></script>
<script src="__STATIC__/home/js/base.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
	//获取链接
	$('.content14').tap(function(){
		$('.cover12').html($(".shareUrl"+$(this).parent().index()+"").val());
		//弹框
		$('.cover').css('display','block');
	});
	
	//弹框隐藏
	$('.cover').tap(function(){
		$('.cover').css('display','none');
	});
	
</script>



